<template>
<uni-shadow-root class="partials-activitiesGoods-simpleActivitiesGoods"><template name="simpleActivitiesGoods">
 <view class="mt20">
    <scroll-view class="recommend_scroll_x_box" scroll-x="true">
      <block v-for="(item,index) in (relateBean.products)" :key="item.index">
          <view class="recommend_hot_box" :style="'background-color:'+(color)+';'" @click="clickLink" :data-id="item.id" :data-index="item.id">
            <view class="CouponsImg">   <image mode="aspectFill" :src="item.imagePath"></image> </view>
            <view class="choose" :style="'background-color:'+(setting.defaultColor)+';'"> <text>去抢购</text> </view>
          </view>
              <view class="recommend_hot_box_copy" v-if="index==relateBean.products.length-1" :style="'background-color:'+(color)+';'" @click="clickLink1" :data-id="relateBean.id">
           <text :style="'color:'+(setting.defaultColor)">更多商品</text>
          </view> 
      </block> 
    </scroll-view>
 <view class="footer" :style="'background: linear-gradient(to right, '+(setting.defaultColor)+' , '+(setting.secondColor)+');'">
    <view class="activeName"><text>{{relateBean.name}}</text></view>
    <view class="time">
         <view class="timeText"> <text>{{relateBean.promotionStatus==0?"即将开始:":"距结束:"}}</text></view>
         <view class="timeBox" :style="'color:'+(setting.defaultColor)"> <text>{{countDownDay}}天</text></view>
         <view class="timeText"> <text>:</text></view>
         <view class="timeBox" :style="'color:'+(setting.defaultColor)"> <text>{{countDownHour}}</text></view>
          <view class="timeText"> <text>:</text></view>
         <view class="timeBox" :style="'color:'+(setting.defaultColor)"> <text>{{countDownMinute}}</text></view>
          <view class="timeText"> <text>:</text></view>
         <view class="timeBox" :style="'color:'+(setting.defaultColor)"> <text>{{countDownSecond}}</text></view>
    </view>
 </view>
</view>
</template></uni-shadow-root>
</template>

<script>

global['__wxRoute'] = 'partials/activitiesGoods/simpleActivitiesGoods'

Component({})

export default global['__wxComponents']['partials/activitiesGoods/simpleActivitiesGoods']
</script>
<style platform="mp-weixin">

</style>